package javase.javase02.networkprograming;

import javase.javase02.networkprograming.TalkReceive;
import javase.javase02.networkprograming.Talks;

/**
 * @author: Gan
 * @date 2021/4/23 0023 22:33
 * @description:定义两个用户
 **/
public class Test2 {
    public static void main(String[] args) {
        //发送端
        new Thread(new Talks(7865,"127.0.0.1",3376)).start();
        //接收端
        new Thread(new TalkReceive(6666,"江南皇")).start();
    }
}
